// 建议所有项目自定义样式放在该文件夹下
body {
  min-width : 1440px;
  overflow-x: hidden;
  overflow-y: auto;
}

.wd {
  width: 100%;
}

.mt10 {
  margin-top: 10px;
}

.mb10 {
  margin-bottom: 10px;
}

.p5 {
  padding: 5px;
}

.p10 {
  padding: 10px;
}

.p020 {
  padding: 0 20px;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

a {
  transition: color 0s;
}

.center {
  text-align: center;
}

textarea {
  resize: none;

  &.ant-input {
    padding   : 2px 8px;
    min-height: 28px;
  }
}

.content-white {
  background: #fff;
}

.ant-btn {
  padding: 0 10px;
}

// 设置滚动条的样式
::-webkit-scrollbar {
  width : 9px;
  height: 9px;
}

// 滚动条滑块
::-webkit-scrollbar-thumb {
  border-radius     : 20px;
  background        : #686868;
  -webkit-box-shadow: inset 0 0 6px #686868;
}

/* 表格分页样式 */
.pageWrap {position:relative;}
.pageWrap .pageSelect{margin:15px 0 0 0;}
.pageWrap .pageSelect .pageTotal{padding:0 5px;font-weight:bold;font-size:16px;color:#1890ff;}
.pageWrap .pageInation{position:absolute;top:0;right:0;}

/* 左侧菜单样式调整 */
@import "./leftmenu";

/* 黑.白风格 */
@import "./skin";

/* 自动生成需要的样式 */
@import "./autobuild";

/* 表格样式 */
@import "./tablestyle";

/* calendar样式 */
@import "./fullcalendar";

/* 取消select-tree二级菜单禁用后的灰色样式 */
li.ant-select-tree-treenode-disabled>span:not(.ant-select-tree-switcher),
li.ant-select-tree-treenode-disabled>.ant-select-tree-node-content-wrapper,
li.ant-select-tree-treenode-disabled>.ant-select-tree-node-content-wrapper span {
  color : rgba(0, 0, 0, 1);
  cursor: default;
}

.examplan {
  .ant-select-selection--multiple {
    height  : 32px;
    overflow: hidden;
  }

  .ant-input-group-addon:first-child {
    width: 150px;
  }

  .ant-table-small>.ant-table-content .ant-table-scroll .ant-table-body>table>.ant-table-tbody>tr.doHover:hover>td {
    background-color: #e6f7ff;
  }
}

.examplan2 {
  .ant-select-selection--multiple {
    overflow: hidden;
  }

  .ant-input-group-addon:first-child {
    width: 150px;
  }

  .ant-table-small>.ant-table-content .ant-table-scroll .ant-table-body>table>.ant-table-tbody>tr.doHover:hover>td {
    background-color: #e6f7ff;
  }
}

.app-icons .ant-col-8:hover {
  background-color: #ececec;
}

.nav>li>a.nav-sub-title {
  padding: 8px 30px 8px 16px;
}

.ant-menu-inline {
  .ant-menu-submenu {

    .ant-menu-submenu-title,
    .ant-menu-item {
      height     : 26px;
      line-height: 26px;
    }
  }
}

.ant-input-disabled {
  color: #666;
}

.control {
  float: left;
  width: 1920px;

  .controlHeader {
    color: #fff;

    .controlTitle {
      .logo {
        background: #fff;
      }
    }
  }

  .ant-switch {
    border: 1px solid #eef3f8;
  }
}

.comTabs {
  .ant-tabs-nav .ant-tabs-tab {
    font-size: 14px;
  }

  .ant-tabs-tabpane,
  .ant-tabs-tab-next-icon,
  .ant-tabs-tab-prev-icon {
    color    : #fff;
    font-size: 14px;
  }

  .ant-tabs-tabpane {
    padding: 10px 20px;
  }
}

.ant-menu-submenu {
  &.ant-menu-submenu-popup {
    .ng-star-inserted {
      // padding: 0;
      margin: 0;

      li {
        list-style-type: none;
      }
    }

    background: transparent;

    .ant-dropdown-menu {
      padding   : 0;
      background: transparent;
    }

    .ant-dropdown-menu-item {
      a {
        padding    : 5px 12px;
        color      : #fff;
        border-left: 6px solid transparent;

        &:hover {
          border-left: 6px solid #fae866;
        }
      }

      &:hover {
        background-color: rgba(96, 179, 255, 0.8);
      }
    }
  }
}

.ant-calendar-time-picker-btn {
  color: #ff0000;

  &:hover {
    color: #ff0000;
  }
}

.ant-select-disabled {
  .ant-select-selection {
    color: #666;
  }
}

.ant-checkbox-disabled+span {
  color: #666;
}

.controlSelect {
  &.ant-select-dropdown {
    background-color: #30365a;
  }

  .ant-select-dropdown-menu-item {
    color: #fff;

    &:hover {
      background-color: #535978;
    }

    &.ant-select-dropdown-menu-item-disabled {
      &.ng-star-inserted {
        display: none;
      }
    }
  }

  .ant-select-dropdown-menu-item-selected,
  .ant-select-dropdown-menu-item-active {
    color           : #fff;
    background-color: #60b3ff;
  }

  .ant-select-dropdown-menu-item-group-title {
    color     : #fff;
    background: #5d638c;
    font-size : 14px;
  }

  .ant-select-dropdown-menu-item-group-list {
    .ant-select-dropdown-menu-item {
      padding: 5px 10px 5px 30px;
    }
  }
}

.processWrap {
  .ant-modal-content {
    color     : #fff;
    background: rgba(63, 66, 83, 0.8);
  }

  .ant-modal-header {
    background   : transparent;
    border-bottom: 1px solid #7b7d8b;

    .ant-modal-title {
      color: #fff;
    }
  }

  .ant-modal-footer {
    border-top: 1px solid #7b7d8b;
  }

  .ant-modal-close,
  .ant-table {
    color: #fff;
  }

  .ant-table-thead>tr>th {
    background   : #55596b;
    border-bottom: 1px solid #55596b;
    color        : #fff;
    font-size    : 14px;
  }

  .ant-table-tbody>tr>td {
    border-bottom: 0;
    font-size    : 14px;
  }

  .ant-table-tbody>tr:hover:not(.ant-table-expanded-row)>td {
    background: transparent;
  }

  .inputBorder {
    background: transparent;
    width     : 100%;
  }

  .ng-star-inserted {
    padding: 5px 16px;
  }

  .ant-modal-title {
    .ng-star-inserted {
      padding: 5px 8px;
    }
  }

  .ant-table-body {
    &.ng-star-inserted {
      padding: 5px 0;
    }
  }

  .ant-modal-close-x {
    width      : 32px;
    height     : 32px;
    line-height: 32px;
  }
}

.ant-modal {
  padding: 0;
}

/* 交班信息 */
@import "./handover";

.ymTMonthimpworkMKmnLdComponent {
  .m_therF_cker>.ant-table-wrapper {
    height: calc(100vh - 250px);
  }
}

.ymTMonthimpDKmnComponent {
  .m_therF_cker>.ant-table-wrapper {
    height: calc(100vh - 250px);
  }
}

.ymTMonthimpworkMKmnComponent {
  .m_therF_cker>.ant-table-wrapper {
    height: calc(100vh - 250px);
  }

  .upload-list-inline {
    display: flex;
  }

  .ant-upload-list {
    display: flex;
  }

  .ant-upload-list>.ant-upload-list-item>.ant-upload-list-item-info {
    padding-right: 30px;
  }
}

.zhrb {
  .ant-input-group-addon:first-child {
    width: 150px;
  }

  .checkboxTd>label>span.ant-checkbox {
    border: 2px solid;
  }
}

.workorderpreparation {
  .ant-input-group-addon:first-child {
    width  : 150px;
    padding: 5px;
  }

  .ant-input[disabled] {
    color           : rgba(0, 0, 0, 0.65);
    background-color: white;
    cursor          : default;
    opacity         : 1;
  }

  .ant-table-bordered .ant-table-tbody>tr>td {
    border-right : 1px solid #696868;
    border-bottom: 1px solid #403f3f;
  }

  .ant-table-small>.ant-table-content .ant-table-scroll .ant-table-body>table>.ant-table-tbody>tr.doHover:hover>td {
    background-color: #e6f7ff;
  }
}

.badgeType {
  width        : 20px;
  height       : 20px;
  display      : inline-block;
  border-radius: 50%;
  background   : #aaa;

  &.red {
    background: #f5222d;
  }

  &.yellow {
    background: #fae866;
  }

  &.green {
    background: #52c41a;
  }

  &.purple {
    background: rgb(116, 105, 183);
  }
}

.cmiddle {
  overflow-y     : auto;
  display        : flex;
  justify-content: center;
  word-break     : break-all;
}

.sxdaqkk {
  .ant-table-small>.ant-table-content .ant-table-scroll .ant-table-body>table>.ant-table-tbody>tr>.no-padding {
    padding: 0;
  }

  .ant-table-small>.ant-table-content .ant-table-body>table .ant-table-tbody>tr>.no-padding {
    padding: 0;
  }

  .ant-table-small>.ant-table-content .ant-table-scroll>.ant-table-header table>.ant-table-thead>tr>th.no-padding {
    padding: 0;
  }

  .ant-table-small>.ant-table-content .ant-table-scroll .ant-table-header>table>.ant-table-thead>tr>th.th-yellow {
    background-color: rgb(208, 208, 40);
  }

  .ant-table-small>.ant-table-content .ant-table-scroll .ant-table-header>table>.ant-table-thead>tr>th.th-green {
    background-color: rgb(12, 165, 12);
  }
}

.zdrwgzqd {
  .ant-table-small>.ant-table-content .ant-table-scroll .ant-table-body>table>.ant-table-tbody>tr.doHover:hover>td {
    background-color: #e6f7ff;
  }

  .ant-table-small>.ant-table-content .ant-table-scroll .ant-table-body>table>.ant-table-tbody>tr.tr-checked>td {
    background-color: #e6f7ff;
  }

  .ant-table-small>.ant-table-content .ant-table-scroll .ant-table-body>table>.ant-table-tbody>tr.bg-green>td {
    background-color: #cff77e;
  }

  .self-defined-modal .ant-modal-header {
    padding: 5px 24px;
  }
}